<?php

	\shop\goods\clz::create();

	$phpfiles = glob(__DIR__ . '/*.php');
	foreach ($phpfiles as $file) {
		$name = basename($file, '.php');
		if ($name == 'testcase' || $name == 'main') {
			continue;
		}
		$clzname = '\\test\\' . $name;
		$ins = new $clzname();

		foreach (get_class_methods($ins) as $method) {
			$ins->$method();
		}
	}